import request from '@/utils/request'

export function getPage(keyword) {
    return request({
        url: '/redis/getKeyPage',
        method: 'get',
        params: {keyword}
    })
}


export function getKey(key) {
    return request({
        url: '/redis/getKey',
        method: 'get',
        params: {key}
    })
}

export function configApi(data) {
    return request({
        url: '/redis/config',
        method: 'post',
        data
    })
}